package router

import (
	"github.com/gin-gonic/gin"
	"choujiang/box_server/handler"
)

func RegisterPayment(router *gin.RouterGroup) {
	r := router.Group("/payment")
	r.POST("/add", handler.AddPayment)
	r.GET("/payback", handler.WechatPayBack)
	r.POST("/payback", handler.WechatPayBack)
}
